<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m" id="form-trigger-edit">
			<div class="col-md-12">
				<div class="form-group">
				    <input type="hidden" name="id" th:value="${id}">
					<label class="col-sm-3 control-label">任务参数<font
						color="black">*</font>：
					</label>
					<div class="col-sm-9">
						<textarea name="executorParam" class="form-control"
							placeholder="请输入任务参数"></textarea>
					</div>
				</div>
			</div>
		</form>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript">
		var prefix = ctx + "job/jobinfo";
		$("#form-post-edit").validate({
			rules : {
				postName : {
					required : true,
				}
			},
			messages : {
			}
		});

		function submitHandler() {
			if ($.validate.form()) {
				$.operate.save(prefix + "/trigger", $('#form-trigger-edit')
						.serialize());
			}
		}
	</script>
</body>
</html>
